package org.example.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Auther:Liu
 * @Testname:Discount
 * @Date:2025/8/19 9:43
 */
@Data
@NoArgsConstructor
public class Discount implements Serializable {
    @TableId
    private String id;
    private String bookId;
    private String userId;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String createTime;
    private Integer status;
    private Double discountRate;
}
